/**
 * 
 */
package web.common.entity;

import java.util.Date;

/**
 * 项目名称：ebs 
 * @ClassName: Style
 * @author ZK JIA<br>
 * 创建时间： 2013-11-6 下午09:56:36<br>
 * @version 1.1<br>
 * 描述: TODO(产品风格)<br>
 */

public class ProductStyle extends BaseEntity{
	
	
  /**
	
	* <p>Title: </p>
	
	* <p>Description: </p>
	
	* @param createTime
	* @param updateTime
	* @param createBy
	* @param styleCode
	* @param styleName
	
	*/
	public ProductStyle(Date createTime, Date updateTime, String createBy,
			String styleCode, String styleName) {
		super(createTime, updateTime, createBy);
		this.styleCode = styleCode;
		this.styleName = styleName;
	}
	private String styleCode;
    private String styleName;
	public String getStyleCode() {
		return styleCode;
	}
	public void setStyleCode(String styleCode) {
		this.styleCode = styleCode;
	}
	public String getStyleName() {
		return styleName;
	}
	public void setStyleName(String styleName) {
		this.styleName = styleName;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((styleCode == null) ? 0 : styleCode.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ProductStyle other = (ProductStyle) obj;
		if (styleCode == null) {
			if (other.styleCode != null)
				return false;
		} else if (!styleCode.equals(other.styleCode))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "ProductStyle [styleCode=" + styleCode + ", styleName="
				+ styleName + ", createBy=" + createBy + ", createTime="
				+ createTime + ", updateTime=" + updateTime + "]";
	}
  
  
}
